package com.lb.statck.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Value;

import java.math.BigDecimal;
import java.util.List;

@Data
@TableName("products")
public class productDTO {
    @TableField(typeHandler = com.lb.statck.util.ListTypeHandler.class)
    private List<String> uploadedFiles;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("categoryname")
    private String categoryname;
    @TableField("remark")
    private String remark;
    @TableField("categoryid")
    private Integer categoryid;
    @TableField("imageurl")
    private String imageurl;
    @TableField("price")
    private BigDecimal price;
    @TableField("name")
    private String name;
    @TableField("product_code")
    private String productid;
    private int userid;
    // private int num;

}
